package cn.com.qiter.eduorder.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 其它作业业务表
 * </p>
 *
 * @author testjava
 * @since 2021-04-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="WorkOther对象", description="其它作业业务表")
public class WorkOther implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "采集编号")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "采集设备")
    private String deviceId;

    @ApiModelProperty(value = "采集时间")
    private Date stime;

    @ApiModelProperty(value = "经度")
    private Double longitude;

    @ApiModelProperty(value = "纬度")
    private Double latitude;

    @ApiModelProperty(value = "定位误差（米）")
    private String positionError;

    @ApiModelProperty(value = "pic1")
    private String pic1;

    @ApiModelProperty(value = "pic2")
    private String pic2;

    @ApiModelProperty(value = "pic3")
    private String pic3;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "二维码")
    private String qrcode;

    @ApiModelProperty(value = "项目编号")
    private String projectId;

    @ApiModelProperty(value = "设备类型，1、环卫作业；2、其它作业；3、建筑作业；")
    private String stype;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "APP存储的ID")
    private Integer appId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    @ApiModelProperty(value = "记录状态，1、事前；2、事中；3、事后")
    private String status;


}
